.has-error {
  .pgadmin-controls > .form-control {
    border-color: #d0021b;
    position: relative;
  }

  .control-label {
    color: #d0021b;
  }

  .control-label:before {
    font: normal normal normal 16px/1 FontAwesome;
    content: "\f071";
    text-decoration: inherit;
    position: absolute;
    color: #d0021b;
    right: 6px;
    padding-top: 6px;
    z-index: 1;
  }
}

.pgadmin-file-has-error {
  .pgadmin-controls:before {
    right: 40px !important;
  }
}

.pgadmin-datepicker-has-error {
  .pgadmin-controls:before {
    right: 50px !important;
    z-index: 3;
  }
}
